package com.fm.pojo;

import java.util.Date;

public class Product {
    private String id;

    private String userId;

    private String name;

    private String image;

    private Integer type;

    private Integer status;

    private Date createTime;

    private Date updateTime;

    private String detail;

    public Product(String id, String userId, String name, String image, Integer type, Date createTime, Date updateTime, String detail,Integer status) {
        this.id = id;
        this.userId = userId;
        this.name = name;
        this.image = image;
        this.type = type;
        this.status=status;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.detail = detail;
    }

    public Product() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}